package com.itheima.overLoad;

public class Demo5Method {
    public static void main(String[] args) {
         int a = 20;
         int b = 10;
         int temp = a;
         a = b;
         b = temp;
        System.out.println(a);
        System.out.println(b);
        int m = 10;
        int n = 20;
        m = m ^ n;
        n = m ^ n;
        m = m ^ n;
        System.out.println(m);
        System.out.println(n);
    }
}
